package com.ld.security.auth.common.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.core.base.column.MapJson;
import com.ld.security.common.mybatis.anno.LabelKeys;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.LabelMap;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("sys_role_user_rel")
@ApiModel("用户角色关联")
@Data
public class SysRoleUserRelEntity  extends SuperEntity implements LabelMap
{




  @ApiModelProperty("用户编号")
  @SqlKey(SqlCondition.eq)
  @LabelKeys(SysUserEntity.class)
    private String userId;




  @ApiModelProperty("角色编号")
  @SqlKey(SqlCondition.eq)
  @LabelKeys(SysRoleEntity.class)
    private String roleId;



  private MapJson labelMap;




        }
